home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / Papers / C++ Exceptions / µShell / Core Utilities / LanguageFeatures.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-24  |  561 b   |  34 lines  |  [TEXT/CWIE]

  1. #ifndef __LANGUAGEFEATURES__
  2. #define __LANGUAGEFEATURES__
  3. #pragma once
  4.  
  5. #include <ConditionalMacros.h>
  6.  
  7. // provide default values here
  8.  
  9. #ifndef EXPLICIT_SUPPORTED    
  10. #define EXPLICIT_SUPPORTED    0
  11. #endif
  12.  
  13. #ifndef BOOL_SUPPORTED    
  14. #define BOOL_SUPPORTED        1
  15. #endif
  16.  
  17. #ifndef MEMBER_TEMPLATES_SUPPORTED
  18. #define MEMBER_TEMPLATES_SUPPORTED    0
  19. #endif
  20.  
  21. #ifndef WORK_AROUND_REFERENCE_BUG
  22. #define WORK_AROUND_REFERENCE_BUG    1
  23. #endif
  24.  
  25. #if !EXPLICIT_SUPPORTED
  26. #define explicit
  27. #endif
  28.  
  29. #ifndef __CODEWARRIORSUCKS__
  30. #include "CodeWarriorSucks.h"
  31. #endif
  32.  
  33. #endif __LANGUAGEFEATURES__
  34.